%idp-status {
  display: inline-block;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 3px;
  padding-bottom: 3px;
  min-height: 28px;
  margin: 2px;
}

%idp-table-row {
  width: 100%;
  min-height: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1px;
}

.login-provider-table {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-bottom: 32px;

  .idp-table-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .idp-header-row {
    @extend %idp-table-row;
    span {
      min-height: 32px;
      color: black;
      background-color: #d3d3d3;
      margin-right: 1px;
    }
  }
  .idp-table-rows {
    width: 100%;
  }
  .idp-table-row {
    @extend %idp-table-row;
    color: #5b5b5b;
    background-color: white;
    button.configure-idp {
      @extend %button-base;
      @extend %button-secondary;
      min-height: 26px;
    }
  }
  .idp {
    padding-left: 16px;
    width: 200px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .idp-status {
    padding-left: 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .idp-enabled {
    @extend %idp-status;
    color: #366456;
    background-color: #d9ebcd;
  }
  .idp-disabled {
    @extend %idp-status;
    color: #656565;
    background-color: #e9e9e9;
  }
}

.setup-idp-form {
  @extend %standard-form;
  margin-bottom: 10px;

  textarea {
    min-height: 200px;
  }
}

.idp-modal-button-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-start;
  .idp-modal-save {
    @extend %button-base;
    @extend %button-primary;
    margin-left: 10px;
  }
  .idp-modal-cancel {
    @extend %button-base;
    @extend %button-secondary;
    margin-left: 10px;
  }
  .idp-modal-disable {
    @extend %button-base;
    @extend %button-danger;
    margin-left: 10px;
  }
}

.idp-config-url {
  display: block;
  overflow-x: auto;
  font-family: monospace;
}
